SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'baa98e69b7c2244b8d283db77a4b83af316dbe89eee58953717d2d6645311833' 
  AND token = 'KuRQ8UDWPP6zk9Tx/reMyt2mc2YgB0KpqJh6HsDvtss=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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