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