[DBCache] Get a DBTablesConfig instance via DBCache.

When DBTablesConfig inherits DBTables, the default constructor
is removed. So the use without constructor paramters won't be
used.

In addtion, the way in this patch reuses the opened connection and
it's expected to improve the performance.