I have realized something...
When SMPS goes off, 3.3V regulator which will supply 74AHC gate will also goes off, so NOR GATE would be without power supply...awww.
My second idea with NPN transistor could also work and seems to be much more simple. What do you think?
