SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}Tibi{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}' OR prCity = 'Tibi' OR prZip = 'Tibi' OR prStreet LIKE '{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}Tibi{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}' OR prCountry = 'Tibi') AND (prLocation LIKE '{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}Spain{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}Spain{4feb1c54f66e8b3710268c339a593dc065dc4a1f321d9935eb0c88ecf5e22b72}' OR prCountry = 'Spain')