AsyncDBSession does queryLogging upfront and does not include query duration like StatementExecutor does. It looks like a wrong implementation. Or is there a specific reason to it?
queryLogging does use loggingSQLAndTime.enabled to determine if it needs to log but does not log time/duration.