The number of times the operation yielded to allow other operations to complete. Typically, operations yield when they need access to data that MongoDB has not yet fully read into memory. This allows other operations that have data in memory to complete while MongoDB reads in data for the yielding operation. For more information, see the FAQ on when operations yield.
Did your first run of the query took more time to return results than the second run?
If yes, then I think when you first ran the query it performed the operations and certain things are stored in cache for future use and when you re-ran the query it was faster due to the cache. Also, you can check if there were other operations already running while you ran the query first time and by the time you ran the query second time, the other operations were already complete.
I would recommend you to refer below documents for achieving better performance