USB consortium did itself no favors by having different subtypes of USB-C (which really only refers to the physical connector, but that is very non-obvious to anyone using it). An
older cable will only support USB-C 2.0, similar rates to USB-A (480Mbps = 0.48Gbps max). A newer cable (3.1 or
3.2 Gen2) will be very fast - 10Gbps max, about 20x faster than the other one. (In between would be USB3.1, at 5Gbps, around 10x the speed of 2.0.)
As
@sodenj5 said, all Thunderbolt cables are also USB-C (but USB-C is not Thunderbolt - only Thunderbolt cables can carry DisplayPort video). The newest Thunderbolt4
cable will support up to 40Gbps. (Your SSD might not support that high though, usually it's only displays or hubs.)
I'd buy the 3.2Gen2 cable and call it a day, unless you know you need another Thunderbolt4 cable for the Studio Display for some reason.