When should I install the Qatar eSIM, and when does validity start?

Install it before you travel, while you are on Wi-Fi. Validity starts when the eSIM first connects to a network in Qatar, not when you install it.