select * from hwantasy_product2 where category like '12%' and serial_no > '0' and use_YN = 'Y' and sell_date_start <= '20241222004231' and (sell_date_end >= '20241222004231' or sell_date_end = '') and substring(category,1,2) = 12 and substring(category,3,2) = 06 order by serial_no desc limit 0, 12