It is a mystery like anything to do with an entity Who lives outside of time. But molinism, the teaching that God predestines outside of time what we choose in time, is not complex. Everything else is.
It really isn't much of a mystery. The more I study the scriptures the more simplistic they become. I'm afraid we just want to make them more complex then they really are.