improve geo table queries