Recent addition: Inspired by the comments by DimaPasechnikDimaPasechnik's and Matt F.'s comments about sum of squares decompositions, I tried the following very natural idea: Try to find $f$ of the form $f(x,y)=A(x,y)^2+B(x,y)^2$, where $A$ and $B$ are relatively prime quadratic polynomials whose zero sets intersect in $4$ points, which then of course are local minima, and attempt to get a fifth local minimum. By a shift we may look for it in $(0,0)$. And indeed, it is not hard to arrange things which yields an examplethere are examples which can be checked almost effortlessly.instantly by hand: One possibility is \begin{align} A &= 4y^2-1\\ B &= 9y^2 + 4y - x^2. \end{align}\begin{align} A &= x^2 - y - 6\\ B &= 8x^2 - y^2 - 3y + 2. \end{align} The curves $A=0$ and $B=0$ intersect in the four points \begin{equation} (\pm\frac{1}{2}, -\frac{1}{2}), (\pm\frac{\sqrt{17}}{2}, \frac{1}{2}). \end{equation}\begin{equation} (\pm1, -5)\text{ and } (\pm4, 10). \end{equation} The partial derivatives of $A^2$ and $B^2$ clearly vanish in $(0,0)$, so $(0,0)$ is a critical point of $f=A^2+B^2$. The Hesse matrix however is only positive semidefinite. Nevertheless,As \begin{equation} f(x, y) = 40 + 20x^2 + 6y^2 + \text{terms of degree }\ge3, \end{equation} we see that $(0,0)$$(0, 0)$ is a fifth local isolated minimum, because $f(x,y)=1+8y^2+$ terms of degree $\ge3$ and $f(x,0)=x^4+1$.
A similar example, where the Hessian in $(0,0)$ actually is positive definite, is $f=A^2+B^2$ for $A=x^2 + y - 2$ and $B = 3x^2 - 2y^2 + 2y + 1$. Note that $f=5+2x^2 + y^2+$ terms of degree $\ge3$.