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