SELECT COUNT(*) AS cnt FROM g5_shop_item WHERE 1 AND (ca_id like '0150%' or ca_id2 like '0150%' or ca_id3 like '0150%') and it_use = '1'
select * from `g5_shop_item` where it_use = '1' and ( ca_id like '0130%' or ca_id2 like '0130%' or ca_id3 like '0130%' ) ORDER BY it_order, it_id desc limit 0 , 24