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