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