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