The present invention relates to compound of the formula 1.2, or a pharmaceutically acceptable salt, or hydrate thereofwherein R1 is C1-C5 alkyl;R2, is independently hydrogen, halogen, C1-C3 alkyl, CF3, OCF3 or OCH3; i is 1, 2,3, or 4;Ar is unsubstituted phenyl or substituted phenyl substituted with halogen, C1-C6 alkyl, C1-C6 alkoxy, a substituted amino group or trifluoromethyl; or Ar is a substituted or unsubstituted 6-membered aromatic heterocycle one or, with two nitrogen atoms in the heterocycle;excluding the compounds of the formulas A1-A4The invention relates to the novel chemical compounds, methods for their preparation and use as antagonists of 5-HT6 receptors, simultaneously regulating homeostasis of calcium ions in cells. The invention relates to the novel annelated azaheterocycles—;2,3,4,5-tetrahydro-1H-pyrido[4,3-b]indoles, to methods for their preparation, to pharmaceutical compositions, including these compounds as active substances, and to methods of treatment and profylaxis of various diseases.