Hydrolyzes the short-chain alpha-galactosaccharides raffinose and stachyose. Hydrolysis of terminal, non-reducing alpha-D-galactose residues in alpha-D-galactosides, including galactose oligosaccharides, galactomannans and galactolipids. Not inhibited by D-galactose or sucrose (Ref.1). Inhibited by pharmaceutical drug 1-deoxygalactonojirimycin (PubMed:23012371). kcat is 105 sec(-1) for p-nitrophenyl-alpha-galactopyranoside (at 25 degrees Celsius and pH 6.5). kcat is 180 sec(-1) for raffinose (at 25 degrees Celsius and pH 6.5). Optimum pH is 6.5. Optimum temperature is 65 degrees Celsius. Homotetramer. Has properties that make it suitable for elimination of D-raffinose from low green syrup in sugar manufacturing process from beets in order to improve the yield of sucrose. Belongs to the glycosyl hydrolase 36 family.