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