SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39c8299717e375f20cce1122dc09a43fde02410003d11acc44b8559a5926e673' 
  AND token = 'PmtNAMEPrjQ3urnGWgMGfyj+PiuksNzsWgqK+DIg6wU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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