Generally, you are supposed to keep a sentence in the same time tense. Simple past + present perfect is ungrammatical in your example. Each combination has a purpose.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Mercyful_fateShe ate before they had arrived.If X is before Y, then X is farther back in time than Y. The past perfect is farther back in time than the simple past. So this shows the time order best:
She ate before they arrived.