Chosen Solution

The Q,W & E keys are not working, confirmed with keyboard viewer. The Macbook Air will only works normally when any 1 of the working keys is pressed at all time, from the bootup. Otherwise, it’ll shut itself down after a few seconds, even during the booting. I’d removed the flex cable of the keyboard, and cold start works fine. I’d done SMC,PRAM/NVRAM, but problem still persist. I’m kind of think it’s the faulty keyboard issue. But, would like to ask for 2nd thought and possible solution (except changing the keyboard.

The Q, W & E keys all share a common line so you likely had a spill at one point that corroded the wire trace within the keyboard. So yes! You need a new keyboard! Given the systems age the the amount of work it takes to replace the keyboard alone, I recommend replacing the full upper case shell as being the smarter direction! Here’s the needed part MacBook Air 13" (Mid 2013-2017) Upper Case with Keyboard (Used A Stock) and here the guide MacBook Air 13" Mid 2013 Upper Case Replacement