$sql = "select * from ".$xoopsDB->prefix( 'master_table' )." CURRENT_DATE() >= '$date1' AND CURRENT_DATE() <= '$date2'";

これ、どこが間違っていますか