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