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