Scales are for snakes
/Don't waste the limited amount of time you have on this planet just playing the notes of a given key in sequence (i.e., practicing scales mindlessly).
Do writers warm up by typing "the quick brown fox jumped over the lazy dog" for thirty minutes before getting to their real work? Nope. Writers might use warm-ups to get their creative juices flowing, but the warm-ups they use are not mindless repetition.
The best way to warm up as a musician is to play actual melodies. Actual songs. And save the scales for the cold-blooded members of the animal kingdom.