Due to the complexity of regulatory networks of disease-related biomarkers, developing simple, sensitive, and accurate methods has remained challenging for precise diagnosis. Herein, an "AND" logic gates DNA molecular machine (LGDM) was constructed, which was powered by the catalytic hairpin assembly (CHA). It was coupled with dual-emission CdTe quantum dots (QDs)-based cation exchange reaction (CER) for label-free, sensitive, and ratiometric fluorescence detection of APE1 and miRNA biomarkers. Benefiting from synergistic signal amplification strategies and a ratiometric fluorometric output mode, this LGDM enables accurate logic computing with robust and significant output signals from weak inputs. It offers improved sensitivity and selectivity even in cell extracts. Using dual-emission spectra CdTe QDs, with a ratiometric signal output mode, ensured good stability and effectively prevented false-positive signals from intrinsic biological interferences compared to the approach relying on a single signal output mode, which enabled the LGDM to achieve rapid, efficient, and accurate natural drug screening against APE1 inhibitors in vitro and cells. The developed method provides impetus to streamline research related to miRNA and APE1, offering significant promise for widespread application in drug development and clinical analysis.