However, I just realized, that when obtaining the prevout we don't search the point table. We navigate to it from the input and search the tx table for the hash of the point, to find its output from the point index. So this means my above approach wouldn't help.