Note that in the OPs case I'd probably try testing things like turning off seqscan, or lowering random_page_cost. I'd also look at clustering on the index for the field you're selecting on.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных