SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}Silves{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}' OR prCity = 'Silves' OR prZip = 'Silves' OR prStreet LIKE '{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}Silves{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}' OR prCountry = 'Silves') AND (prLocation LIKE '{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}Portugal{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}' OR prCity = 'Portugal' OR prZip = 'Portugal' OR prStreet LIKE '{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}Portugal{0e353c7df96ba9eb51893c203ebc1b072e9a5ddec002529c6fe0075576daff16}' OR prCountry = 'Portugal')