SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}Augsburg{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCity = 'Augsburg' OR prZip = 'Augsburg' OR prStreet LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}Augsburg{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCountry = 'Augsburg') AND (prLocation LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}/{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}/{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCountry = '/') AND (prLocation LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}Göggingen{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCity = 'Göggingen' OR prZip = 'Göggingen' OR prStreet LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}Göggingen{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCountry = 'Göggingen') AND (prLocation LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}Germany{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}Germany{1f83d01d415903ab2cb8c13ca9441ef8bc27a853831ca8fba9c73b9d29a12b0b}' OR prCountry = 'Germany')