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