SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}Ramerberg{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}' OR prCity = 'Ramerberg' OR prZip = 'Ramerberg' OR prStreet LIKE '{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}Ramerberg{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}' OR prCountry = 'Ramerberg') AND (prLocation LIKE '{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}Germany{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}Germany{c8c86117ce060547d8e4fd948ce61fd73cbfff68b58ff69d3bc45e8137a9d29d}' OR prCountry = 'Germany')