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