Bifunctional enzyme with alpha-galactosidase and sucrose kinase activities. Produces sucrose-6-phosphate directly from raffinose. Binds ATP. Phosphorylates sucrose specifically on the C6 position of glucose in the presence of ATP. Hydrolyzes melibiose, raffinose, stachyose and synthetic substrate p-nitrophenyl-alpha-D-galactopyranoside with high activity. Low activity against locust bean gum, guar gum and synthetic substrates xylose alpha-D-4-nitrophenol, glucose alpha-D-4-nitrophenol and o-nitrophenyl-alpha-D-galactopyranoside. Hydrolysis of terminal, non-reducing alpha-D-galactose residues in alpha-D-galactosides, including galactose oligosaccharides, galactomannans and galactolipids. kcat/KM is 1850 s(1) mM(1) for p-nitrophenyl-alpha-D-galactopyranoside. Optimum pH is 6.0. Active between pH 4.0-6.5. Optimum temperature is 50 degrees Celsius. Homotetramer. In the N-terminal section; belongs to the glycosyl hydrolase 36 family. In the C-terminal section; belongs to the uridine kinase family.