Select only editable keys on selected curves when "Only Show Selected Curves" is enabled in the Graph Editor's View menu.
This prevents selecting invisible keys with box, circle, and lasso select in the Graph Editor.
**Test build:**
* [Windows](https://builder.blender.org/download/temp-T82588-box-select-invisible-keys/temp-T82588-box-select-invisible-keys-blender-2.91.0-d1fa04680c0a-windows64.zip)