Steven G. answered 07/25/22
Photographer and Instructor of Adobe Photoshop and Lightroom
Your best option here is to make sure your Lightroom Catalog file is located on your computer's local disk AND that you use "Smart Previews". Smart previews are saved with the catalog file locally so the program will need to make fewer calls to the NAS.
You can create Smart Previews on import or at anytime to images already in your Catalog.
Hope that helps, let me know if you need more details.