Do you go pretty heavy on squats? If so, have you tried doing a lighter warm-up set with more reps before you get to it.
I try to go as heavy as possible but I am 60 years old so heavy is relative!
I do an initial warmup set with just the bar for 10 reps.
Then do additional warmup sets of 5s, 3s and singles as I add weight in 20-30 lb increments until I reach my work weight for the day.
This is not written in stone. I might jump the weight a bit at first for example, empty bar, 90, 135, 185, etc. depending on how I feel. If I feel lousy I will advance the weight in smaller increments.
So quite a few warmup sets! 10 warmup sets or more sometimes. I only rest for 1 minute between warmup sets using a timer. I use a timer just about all the time when I train to time my rests so I don't take either too much time or too little time between sets. My tendency is to take too little time between sets. Rests between heavy low rep work sets are 3-4 minutes.
The reason I do many warmup sets is to prevent injury by GRADUALLY advancing the weight during warmups.
After reaching my work set weight I do my 8 work sets which are somewhere in the range of 75-85% of max.
I do the same thing with my clean and press and the bench press but not for the higher rep bodybuilding type exercises. Still I would do a set or two of warmups if needed.