Optimization: only lock table during enqueue when the incoming job has a coalesceId.