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

Query time 0.00044

JSON explain

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