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