optimize this query not sure what is the problem
The first thing I would personally do is get rid of those Key Lookups by adding included columns to existing indexes. What version of AX is that? In know in 2009 there was no support for included columns, but in 2012 there is. If you are on 2009 you would have to add the columns to the end of the indexes, sometimes making them a little wide, but that's the only way to cover the query needs unfortunately.
Edit: I'm assuming you know you have to edit AX indexes via the AOT inside the AX client, but just in case.
First thing I see is that this is Dynamics AX. What version is it? If its 2012, then there are 5 Key lookups occurring that could probably be resolved with some included column indexes. If its not 2012, i.e. 2009, then there is a workaround that will allow you to use included columns found here: