I was in a pretty busy McDonalds so we were usually asked to do one more of X when doing X, or two more of Y, or 5 more of Z, ... depending on the rush. That's how we ended up trashing some.
That's because, when doing a big mac for example, it's almost as easy to make one or five on a tray. So better make 5 if you're in a rush, they will likely be fulfilled.
In cool periods we would only produce on command. So no waste. Fresh burgers.
Everyone used to say that Franchise didn't care too much about these rules (where they should), and the director didn't like getting employees from Franchise McDonalds because they had to re-learn all the hygiene standards. Since that day I avoid franchise restaurants and go only to the official ones.