Just fixed using indices in inner plan of MergeJoin. Vadim
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных