I'd definitely recommend writing for the humans with quality, focused content, but then optimizing the page so that it ticks the boxes from an SEO perspective. Nothing is worse than a page which is obviously written for SEO. Likewise, it's also no good if the page never gets seen as it doesn't rank.
A few tweaks here and there with written content to optimize subtly should do the trick.