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

Query time 0.00026

JSON explain

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