SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}Tanger{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}' OR prCity = 'Tanger' OR prZip = 'Tanger' OR prStreet LIKE '{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}Tanger{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}' OR prCountry = 'Tanger') AND (prLocation LIKE '{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}' OR prCity = '' OR prZip = '' OR prStreet LIKE '{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}{ce6b2d4d90436371b48a08f107093cdc3ee223859cf144b78ec9d83cc969d655}' OR prCountry = '')