SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa25b291e18cdfa27e39e5c7ffdca92351926be02d8f8d48702134085321f1a8' 
  AND token = 'fqiewMxC4sq1qs/rE2ABbSoWPpzGMuC7ZsEIkitYkaw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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