One way to solve that could be to gray out the key text for the hidden curves.
Make it more clear in key legend which curves are toggled on or off