Query is running slow taking more than 5 minutes to complete

Feivel 2017-08-15 03:53:20

Looking at the execution plan I do notice a lot of sorts and spills to tempdb. I am lost in the plan itself and don't know how to fix this. I can provide more details if needed.