SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b863fb49e51f81bbe28c1afba79bfa63cfe0798b51901503f53337c4557802b3' 
  AND token = 'q0aLfyT+5PsGo6Oq1n2Q1ZX+rJkGjkXNF6DsaD5K+bE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}