SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Sankt{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCity = 'Sankt' OR prZip = 'Sankt' OR prStreet LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Sankt{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCountry = 'Sankt') AND (prLocation LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Margarethen{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCity = 'Margarethen' OR prZip = 'Margarethen' OR prStreet LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Margarethen{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCountry = 'Margarethen') AND (prLocation LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}im{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCity = 'im' OR prZip = 'im' OR prStreet LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}im{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCountry = 'im') AND (prLocation LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Lungau{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCity = 'Lungau' OR prZip = 'Lungau' OR prStreet LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Lungau{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCountry = 'Lungau') AND (prLocation LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Austria{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}Austria{502c10110bec0afeef036053b6421b9b6a8043cf87c11dbbd7d8004809665cdf}' OR prCountry = 'Austria')