With out reviewing the GUI code, I can not tell for sure but I would have to say the issue is a performance issue related to network, backups, antivirus scans, or Database event/ issues. Recommend talking to the network and database admins to see if there was and event running during the time frame of the database queries? Also, I would recommend looking into using API testing to do database testing because it is compiled into a dll and runs directly instead of VBScript interpreted code making calls to COM ODBC connections.
The only documents I can recommend is:
1. UFT User Guide > Part 8 > Chapter 54: API Test Creation Overview
2. UFT User Guide > Part 8 > Chapter 55: Standard Activities > Database Activities > page 2066
Most of the time I find constructing a Database test with UFT API is faster and easier that attempting with GUI and VBScripting if the only thing being done is a database action.