Frankly, I've got no idea. I don't understand the inner workings of MySQL; I don't know what those EXPLAIN results mean.
There are couple of indices on the table: doc+term+item, term, term_reverse, doc, type+item. If those don't help, I'm not sure what else will. Any suggestions are welcome, I don't know anything about MySQL optimization.