SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9219131942a2fcdce5b7170d4ad81721f415c902a896afb3186221181e35f87f' 
  AND token = 'mP4wpoC+NEclbYrFt6TUdmWXwas83bJy9iqcFtARbf0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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