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