If I am reading correctly you are looking for a track matte.
But you can also keyframe a mask. Should be able to set a keyframe on position and then move the timeline and then adjust your mask by moving the points.
but when you zoom into zero you could parent your layer to the mask so they both zoom in at the same time.