SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '681a382385672468be99e2160d6e117bc465b251d769dc5154ea6efec073cd10' 
  AND token = 'IZM5Odcw2sJSJSlzNig0YyCuxACSYrfQTHG97U4yfZQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00882

JSON explain

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