SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Tignale{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCity = 'Tignale' OR prZip = 'Tignale' OR prStreet LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Tignale{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCountry = 'Tignale') AND (prLocation LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Loc{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCity = 'Loc' OR prZip = 'Loc' OR prStreet LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Loc{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCountry = 'Loc') AND (prLocation LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Castagnole{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCity = 'Castagnole' OR prZip = 'Castagnole' OR prStreet LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Castagnole{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCountry = 'Castagnole') AND (prLocation LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Italy{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}Italy{3815d3cb1eae605b38be6f53cff098407fd21319891ff1890aebdda613ea30aa}' OR prCountry = 'Italy')