Taking too much time for stock entry save and update via work order

Hi, previously system was only lagging when reports were called, but recently Stock entries are taking time to save and submit.

P.S total stock ledger entries count: 420K.

Bump.