Geoip distance query

I believe that the must not should work. What is the full query at the end?