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