Tuning Postgre is not an option, as the instance is provided by Heroku and as far as I know cannot be tuned by me.
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных