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

Query time 0.00025

JSON explain

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