SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Berlin{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Berlin{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCountry = 'Berlin') AND (prLocation LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}/{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}/{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCountry = '/') AND (prLocation LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Neu{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCity = 'Neu' OR prZip = 'Neu' OR prStreet LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Neu{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCountry = 'Neu') AND (prLocation LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Venedig{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCity = 'Venedig' OR prZip = 'Venedig' OR prStreet LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Venedig{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCountry = 'Venedig') AND (prLocation LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Germany{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}Germany{a5a174666bd9bf8687c338f4cfbf64efe84a46871209c667701dabfaee39afe4}' OR prCountry = 'Germany')