There is no way to simply query the Firestore database and get all shops that are nearby. To solve this, you need to use a library and for that I recommend you to use GeoFirestore for Android:
GeoFirestore is an open-source library for Android that allows you to store and query a set of documents based on their geographic location.