Since IDs must be unique, you can simplify it to this:
#content .first, #content .second
CSS3 offers :matches
:
#content :matches(.first, .second)
However, as you can see, it's no shorter! Plus it's still new, so older browsers don't support it.