SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59afc617c3415a6ae2f1613a015f883e567ec1c71926e0508238dc75722aaca4' 
  AND token = 'KrdRkBtK+WFS3fTEFrrfVmiD27aaWa1k0AkkylWdNk8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}