SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0dc21065ea941b884267430584fcccad46b26014d936d74590c9351928f7c0bb' 
  AND token = 'sZYmdb9AtgjnvflV7UG0Rpgh0tT6phaEndwy7mHbhog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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