I think one of the first step that we can have is to remove the ORDER BY as it creates the temporary filesort that you have mentioned in #9.
I may missing something, an order by UUID does not bring any kind value?
A second step would be to understand why the possible key object_id is not used.
There is also another point, we can notice that we do filter per action, but I think that we do not have an index on it, maybe we could also investigate that point.
I think one of the first step that we can have is to remove the ORDER BY as it creates the temporary filesort that you have mentioned in #9.
I may missing something, an order by UUID does not bring any kind value?
A second step would be to understand why the possible key object_id is not used.
There is also another point, we can notice that we do filter per action, but I think that we do not have an index on it, maybe we could also investigate that point.