You need to excite your nervous system. In my experience the easiest way is to spend your on-court warmup focusing intensely on the ball. Try to look at as hard as possible the whole five minutes. Don’t think or worry about your strokes in the least. That’s for practice, not warmup.
It also really helps to have a fixed gameplan for the first 3-5 games. The less you think, the better you perform.