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