Very similar to Proximity Service (Find Nearby Friends, Design Yelp). This problem is about maintaining a large geospatial index.
Excellent article on geospatial algorithms: https://blog.mapbox.com/a-dive-into-spatial-search-algorithms-ebd0c5e39d2a
Good solution for Yelp, which applies here: https://systemdesignschool.io/problems/yelp/solution
Popular Video: https://www.youtube.com/watch?v=M4lR_Va97cQ
Mock Interview: https://www.youtube.com/watch?v=atywHEArk1w