Ok I found it with LiteSpeed support. I leave here my solution (in my case):
Go to LiteSpeed admin and then Configuration -> Server -> PHP -> PHP Handler Defaults -> Edit -> Environment -> wrote here LSAPI_MAX_PROCESS_TIME=36000
Probably you mentioned it here earlier but I didn't understand it properly
I didn't know I have to write it in Environment Section in PHP section