SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a66891eba8bf589de13663846cd504e1409e5917760569ed900ad8806bc09fe5' 
  AND token = 'Z8bey+xeux6rly5mu0CMXupsC6cOSOszKrqzQzMils8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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