SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}Santa{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}' OR prCity = 'Santa' OR prZip = 'Santa' OR prStreet LIKE '{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}Santa{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}' OR prCountry = 'Santa') AND (prLocation LIKE '{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}Ponsa{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}' OR prCity = 'Ponsa' OR prZip = 'Ponsa' OR prStreet LIKE '{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}Ponsa{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}' OR prCountry = 'Ponsa') AND (prLocation LIKE '{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}Spain{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}Spain{80111c46c6c309e277739da3d307796609e6e07894b47eb613198778636b59f0}' OR prCountry = 'Spain')