Compound of formula (VIII) values of which Cy, Q1, Q2, Q3, Q4, R1, R2 substitutions are provided in the claims or pharmaceutically acceptable salt and composition on the basis thereof. Applaction of said compound or pharmaceutically acceptable salt for the treatment of such diseases as obesivity, diabetes, hypertension, dementia, cognitive dysfunction, inflammatory diseases, metabolic syndrome, etc. and for pharmaceutical drugs preparation.