All of the ratings, motor, ESC & battery, are the do not exceed number. It’s perfectly fine to use a component in a lower demand application.
A battery rating is calculated mAh/1000 x C, in your situation, the battery can supply 260 amps (5200/1000 x 50)
For a twin motor, add the demand of both motors. So long as the total is below 260a you will OK