fw tool: sql: add mutex