SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a9f7dd3aa98f6242c6a893edba21d76593c6d4f17bb5149a40aa34f73c6d99a' 
  AND token = 'AUpC+QY+Px9JDcwOkLW/VDrvbLKCqs4cOqJsBvwjyOE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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