SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}Aurich{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}' OR prCity = 'Aurich' OR prZip = 'Aurich' OR prStreet LIKE '{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}Aurich{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}' OR prCountry = 'Aurich') AND (prLocation LIKE '{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}Ostfriesland{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}' OR prCity = 'Ostfriesland' OR prZip = 'Ostfriesland' OR prStreet LIKE '{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}Ostfriesland{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}' OR prCountry = 'Ostfriesland') AND (prLocation LIKE '{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}Germany{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}Germany{1510ede90156fea7049807e8888e30e83071af09707b848a2c364fc4dc4478b3}' OR prCountry = 'Germany')