SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}Castrop-Rauxel{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}' OR prCity = 'Castrop-Rauxel' OR prZip = 'Castrop-Rauxel' OR prStreet LIKE '{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}Castrop-Rauxel{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}' OR prCountry = 'Castrop-Rauxel') AND (prLocation LIKE '{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}Germany{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}Germany{12e320393ec138fc565a7e4468f02e120a34fe4c5504b8f68cb8edd9684d3eac}' OR prCountry = 'Germany')