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