SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}Region{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}' OR prCity = 'Region' OR prZip = 'Region' OR prStreet LIKE '{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}Region{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}' OR prCountry = 'Region') AND (prLocation LIKE '{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}Cittaslow{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}' OR prCity = 'Cittaslow' OR prZip = 'Cittaslow' OR prStreet LIKE '{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}Cittaslow{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}' OR prCountry = 'Cittaslow') AND (prLocation LIKE '{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}Cyprus{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}Cyprus{61717c9edc49f7542f6dbd114ccc341d51a1b609f39108c338df855cdb698068}' OR prCountry = 'Cyprus')