Honestly I don't think you'll get a lot of hate for this. I would never want a job like what you're describing, but people are different and want different things. The thing you're going to have to square is "being done in 2 hours in the morning then chilling would be perfect" with pretty much any full-time employment.
Despite what a lot of people here will say, the vast majority of FT jobs do not pay you to do a set of tasks, and you're done when you're done. You get paid for (most of the time) 8 hours a day, 5 days a week. So if you're looking for a 10-hour-a-week gig, you're either going to have to be a consultant, find a diamond-studded unicorn willing to pay you a salary for 10h/wk, work part-time, or lie.
If you want to be a consultant, 10 hours a week of billed work will take 20+ hours a week to get, especially at the start. But at software dev rates you could still pull in $50-60k if you billed hourly, more if you could bill at the project level. You also typically need to be much more involved in the end-to-end product than you would if you were sticking to back-end FTE stuff.
Despite what a lot of people here will say, the vast majority of FT jobs do not pay you to do a set of tasks, and you're done when you're done. You get paid for (most of the time) 8 hours a day, 5 days a week. So if you're looking for a 10-hour-a-week gig, you're either going to have to be a consultant, find a diamond-studded unicorn willing to pay you a salary for 10h/wk, work part-time, or lie.
If you want to be a consultant, 10 hours a week of billed work will take 20+ hours a week to get, especially at the start. But at software dev rates you could still pull in $50-60k if you billed hourly, more if you could bill at the project level. You also typically need to be much more involved in the end-to-end product than you would if you were sticking to back-end FTE stuff.