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