SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}Torri{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCity = 'Torri' OR prZip = 'Torri' OR prStreet LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}Torri{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCountry = 'Torri') AND (prLocation LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}in{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCity = 'in' OR prZip = 'in' OR prStreet LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}in{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCountry = 'in') AND (prLocation LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}Sabina{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCity = 'Sabina' OR prZip = 'Sabina' OR prStreet LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}Sabina{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCountry = 'Sabina') AND (prLocation LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}Italy{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}Italy{e485c50709c07aba77fdc6bd85cbc535984a457e00b0ce9beb6439cd4a0cfe05}' OR prCountry = 'Italy')