SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e360f6808a7e6a41229e44dbe3584cd687e875dc2a12ee8145c13f935175986' 
  AND token = 'n0A3jeShfJlkkEy8UGVi79EKkWKS7W/oRhjCv/GqLJE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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