In this paper, the optimal guidance law with terminal constraints of miss distance and impact angle is presented for a constant speed missile against the stationary target. The proposed guidance law is obtained as the solution of a linear quadratic optimal control problem with the energy cost weighted by a power of the time-to-go. Systematic selection of guidance gains and trajectory shaping are possible by adjusting the exponent of the weighting function. A new time-to-go calculation method taking account of the trajectory curve is also proposed for implementation of the proposed law. Nonlinear and adjoint simulations are performed to investigate the performance of the proposed guidance law and time-to-go calculation method.