You can't really compare optical and USB cables, as there will always be other variables involved. USB is asynchronous, optical SPDIF isn't.
Given the choice, and assuming there's no impact in terms of cost or functionality, I'd go for USB because in most cases it will have measurably better performance.