SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}Venda{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCity = 'Venda' OR prZip = 'Venda' OR prStreet LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}Venda{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCountry = 'Venda') AND (prLocation LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}do{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCity = 'do' OR prZip = 'do' OR prStreet LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}do{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCountry = 'do') AND (prLocation LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}Pinheiro{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCity = 'Pinheiro' OR prZip = 'Pinheiro' OR prStreet LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}Pinheiro{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCountry = 'Pinheiro') AND (prLocation LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}Portugal{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCity = 'Portugal' OR prZip = 'Portugal' OR prStreet LIKE '{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}Portugal{ab6b30e292dcaa2e0aa4d118cb452b228949f4d6156a02154229cde95a7a397f}' OR prCountry = 'Portugal')