I would begin be letting point $N$ be $$\left(\frac{y^2}{2p},y\right)$$ and point $M$ be $$\left(\frac{u^2}{2p},u\right)$$. Now, you know what the slope of the line through $M$ and $N$ has to be since this line is normal to the given parabola at $N$, so this will allow you to express $u$ as a function of $y$ and the parameter $p$.
Then you can construct a function representing the distance (or the square of the distance) between $M$ and $N$ which you can minimize. Once you have the particular $y$ critical $y$-value you can then find the root or $x$-intercept of this line.