SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ce41477b95dc077db1a37546134a17e2ddf0ca9c22b4b419f0668e3e689bf6d' 
  AND token = 'txUAog5gZrDJTfUy/S5Uix+SXKy3lWgZuYyALQabB5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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