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