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