How can I optimize a query?

The first step is to have the following indexes:

  1. bindedClient:1 on collection profileModel
  2. merchantName:1 on collection tpes
  3. terminalId:1 on collection logs