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