SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1f6ddf8f7758b97fd347118706f9a503c2f87711f22ac3a49b0646675134fc8' 
  AND token = 'gc0xt9M4QDD9kPtxtAVFXBrAJEMq4ZnJ5isih8FzH74=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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