Long static holds, over a minute per muscle, right before explosive work can slightly reduce power. Short holds inside a dynamic warm-up are basically fine.
For most sessions a dynamic warm-up is the better choice
Save longer stretching for after training or a separate session
If you need range of motion for your sport, short holds are OK