Yes! That was it, after running VACUUM TABLE history_translation, the query is now executed using index-only scan. I was under the impression that ANALYZE TABLE history_translation is enough, but it is not.
VACUUM TABLE history_translation
ANALYZE TABLE history_translation
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных