I just told you what was the problem.
the push does matter!
why don't you just try it?
change tx version to 2 and {0x01,0x0a} to 0x5a inside the spending script, and it will work.
trust me.
obviously, you won't be able to spend the existing output through the else condition.
because it contains "illegal" pushes.
you need to make another P2SH address, for the script with 5a (instead of 010a)
your suggestion was awesome!
I managed to redeem the transaction (I created a new P2SH script without the push opcode).
https://blockchain.info/tx/4ba75dfe11988663cfcbbc8911eedee1f867d99fa744a6137e885315b3a073e1the OP_CSV is simpler compared to OP_CLTV in my opinion, since we do not need to set the nLockTime and calculate a specific time in the future. All we need is just the nSequence with nSequence >= OP_CSV value and set the tx version to 2. Awesome! Thank you @piotr_n.