SELECT 1 FROM `access` WHERE type = 'host' AND LOWER('216.73.217.88') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1