bugfix
add match index
bugfix and change column 'brand' to 'brand_id' in product_on_sale table