Removes the pyruvyl group from chorismate to provide 4-hydroxybenzoate (4HB). Involved in the synthesis of glycosylated p-hydroxybenzoic acid methyl esters (p-HBADs) and phenolic glycolipids (PGL) that play important roles in the pathogenesis of mycobacterial infections. chorismate = 4-hydroxybenzoate + pyruvate Inhibited by 4-hydroxybenzoate, but not by puruvate. Optimum pH is 7.5. Active from pH 6.8 to 10. Was identified as a high-confidence drug target. Belongs to the chorismate pyruvate-lyase type 2 family.