Hi Jitendra,
As Ron suggested, you can redefine your GET_EXPANDED_ENTITYSET and do your hands on code which reduces improves the performance.
Refer below links, to implement this method
Implementing Expand Entity/Entity Set
Let's code association/navigation and data provider expand in OData service!
Regards,
Vijay V