Revert back to using stats_engine to record sql duration

Without this only query above `slow_sql.explain_threshold` will be
recorded and this means no display in Overview chart.