SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54da6cdde828aad7dcd92e62fe03d423d82f9b439213e09936529769f8035c09' 
  AND token = 'FltdynOCoIDOrxSGQEhxp1iga3f93PWif7+p0L0F9qM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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