An example of how to do you can player matching with Unity Cloud Save using Indexes and Queries
This is supported in Cloud Save SDK for Unity and the C# and JavaScript SDK for Unity Cloud Code.
Before saving data, first define an Index for the keys you want to query on (e.g. in the Unity Cloud Dashboard or using the Unity CLI) so that you can query on these keys in the next step.