The Quadratic Growth Condition is the Key for a Near-Optimal Performance of Inexact Accelerated Proximal Gradient Algorithm