It’s dependent on the application the checkbox sits in. Sometimes there is no better selector (I have to use indexes sometimes). If I’m forced to use indexes, depending on how reliable I think the system is, sometimes I add the index numbers to the config file so they can be changed quickly later if they are updated.
Alternatively you could try clicking the text next to the checkbox and maybe offsetting if needed?
Exploring the Visual Tree on the left is one way to go about it.
another way would be to create an Anchor and attach it to some text besides the checkbox.
If you look at the middle of the screen, you will see several lines of html codes, many of which will contain the containers(texts, aaname, id etc) which can serve as excellent selectors.