SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6cf021fe1bdd38d012b89ce9c4a43e7ce55a46f35a20e7d925392786253ec457' 
  AND token = 'cLCE7a+l344YNvuHne1Vu3YftM558Ev4khFvAoO+uy4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}