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