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