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