SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}Mechernich{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}' OR prCity = 'Mechernich' OR prZip = 'Mechernich' OR prStreet LIKE '{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}Mechernich{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}' OR prCountry = 'Mechernich') AND (prLocation LIKE '{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}Germany{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}Germany{7571ffb7071b38f1eda8546b7c645b385a421814f7562dc5ef07c30e2fdbf2f9}' OR prCountry = 'Germany')