MaxPass is what you want. You are eligible to buy it as soon as you scan into the park. Purchase is through the app.
https://disneyland.disney.go.com/gue...vices/maxpass/
Make sure your phone has a data plan, you'll need it to plan your fastpasses throughout the day. It'll tell you exactly how much longer till you qualify for the next fastpass, etc.
Make sure you enter the photo numbers into the app as you do the rides, you get all the pics as part of Maxpass.
Make sure you link all tickets so you can manage fastpasses all in 1 place. You'll need maxpass for all tickets.
It's worth it, even if we paid $50/day for it.
I always stay at the on site hotel for the extra magic hour. That way you can do Radiator Springs Racers on the California side first thing in the morning. Probably can get through it 2-3x in that hour, more if you go as single rider. Also helps to get a fastpass to run through it for later as that ride is the worst for demand. Incredibles coaster (formerly California Screaming) and Guardians of the galaxy are the other 2 busy rides, fastpass helps there. On the disneyland side pirates of the Caribbean and space mountain are the busy ones to run through during magic hour. The rest of the rides aren't terrible waits.
Download the app well in advance, get used to it, you can view all rides wait times to get a sense of which ones have the longest waits.