SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecc3a2240c59effd61e83e7f2b6f8f84db5b62f1f7e588c495bbdbccd6a36eb7' 
  AND token = 'UF6g7HDmiURURDCuszAwNir831vtMMp/JxULB4J+n+s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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