select
        product_id,
        count(a.product_id) as cnt
from (
    select
        substr(order_id,6,4) as product_id
    from 
            order_log
)a
group by 
        a.product_id
order by 
        cnt
limit 1