Statins, cholesterol-lowering drugs used for the treatment of coronary artery disease (CAD), are among the top 10 prescribed drugs worldwide. However, the synthesis of their characteristic side chain containing two chiral hydroxyl groups can be challenging. The application of deoxyribose-5-phosphate aldolase (DERA) is currently one of the most promising routes for the synthesis of this side chain. Herein, we describe the development of a continuous flow process for the biosynthesis of a side chain precursor. Design of experiments (DoE) was used to optimize the reaction conditions (pH value and temperature) in batch. A pH of 7.5 and a temperature of 32.5 °C were identified to be the optimal process settings within the reaction space considered. Additionally, an immobilization method was developed using the alginate-luffa matrix (ALM), which is a fast, simple, and inexpensive method for enzyme immobilization. Furthermore, it is non-toxic, biodegradable, and from renewable resources. The final continuous process was operated stable for 4 h and can produce up to 4.5 g of product per day.