Improving query with multiple OR clauses

@jeelan.poola, The version after upgrade is 5.0.1-5003-enterprise.

I have created a separate thread for this issue. Could you please respond on that?
here’s the link: