SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ebe5916b41dadebf9f862a95714a4512d657147b632aede719afbf6a9fe6df64' 
  AND token = 'rAUWdsWV9nPVXUvouGo/j+cK0mSu07L3gmHLQp2yHL8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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