SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03a7f2b05c5c5c52951c817ab6972856bad9dd79d634788990005a92e0c5270b' 
  AND token = 'pdNoYKFS8UotIHSPKBlAgDWtP0pAy8Rz9wpZsk9AHa8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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