SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}Ceppo{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}' OR prCity = 'Ceppo' OR prZip = 'Ceppo' OR prStreet LIKE '{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}Ceppo{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}' OR prCountry = 'Ceppo') AND (prLocation LIKE '{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}Morelli{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}' OR prCity = 'Morelli' OR prZip = 'Morelli' OR prStreet LIKE '{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}Morelli{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}' OR prCountry = 'Morelli') AND (prLocation LIKE '{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}Italy{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}Italy{051c3dd467152c9e866552a751a3ca3c20f7f459bc22dbd419f97d4dce0933df}' OR prCountry = 'Italy')