SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}Santa{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}' OR prCity = 'Santa' OR prZip = 'Santa' OR prStreet LIKE '{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}Santa{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}' OR prCountry = 'Santa') AND (prLocation LIKE '{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}Ponça{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}' OR prCity = 'Ponça' OR prZip = 'Ponça' OR prStreet LIKE '{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}Ponça{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}' OR prCountry = 'Ponça') AND (prLocation LIKE '{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}Spain{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}Spain{d8c658211c853c5b38461d6c38139cd49b6d0b749504474af0fd142efecd1b08}' OR prCountry = 'Spain')