[api] Do not run milliseconds precision on MySQL because MySQL does not do milliseconds