Lo hice antes de que me lo (mandar) mandara.
Lo haré antes de que me lo (pedir) pida.

Both events were or are still in the past.