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