check for already spent outputs with a single query during block validat...

use composite index on prev_out, prev_out_index, and checking for double spends with a single query