SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}Nienburg{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}' OR prCity = 'Nienburg' OR prZip = 'Nienburg' OR prStreet LIKE '{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}Nienburg{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}' OR prCountry = 'Nienburg') AND (prLocation LIKE '{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}(Weser){524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}' OR prCity = '(Weser)' OR prZip = '(Weser)' OR prStreet LIKE '{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}(Weser){524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}' OR prCountry = '(Weser)') AND (prLocation LIKE '{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}Germany{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}Germany{524d0e82abaff3653b23ca00c03c82662f7cffdbcc5e304b0e9b886883ca708b}' OR prCountry = 'Germany')