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