Let $S$ and $S^{\prime}$ be the foci of the ellipse $\frac{x^2}{25}+\frac{y^2}{9}=1$ and $P(\alpha, \beta)$ be a point on the ellipse in the first quadrant. If $(\mathrm{SP})^2+\left(\mathrm{S}^{\prime} \mathrm{P}\right)^2-\mathrm{SP} \cdot \mathrm{SP}^{\prime}=37$, then $\alpha^2+\beta^2$ is equal to: