SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04be231c79e76facd120dc86ec11cc853266da17dd57006853d712222b77d262' 
  AND token = 'VBbRzqQ9yhEKQYzoHQuzF0APzzrp0TQTRw8hUMFx6us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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