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