Enables (S)-2-hydroxy-acid oxidase activity; FMN binding activity; and identical protein binding activity. Involved in mandelate metabolic process. Located in peroxisome. Orthologous to human HAO2 (hydroxyacid oxidase 2). [provided by Alliance of Genome Resources, Apr 2022]