SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}Dassel{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}' OR prCity = 'Dassel' OR prZip = 'Dassel' OR prStreet LIKE '{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}Dassel{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}' OR prCountry = 'Dassel') AND (prLocation LIKE '{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}Germany{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}Germany{30c6c305b1b862702d96ea5af9596c5ffe4709f7d3dbcb8eda6df651cf24b1b1}' OR prCountry = 'Germany')