Added index to Workflows.wftID for inner join to WorkflowTypes table