ALTER TABLE `0p4_good_issue_note_item_detail` 
ADD INDEX `idx_gin_id`(`good_issue_note_id`) USING BTREE;

ALTER TABLE `0p4_sale_order_detail` 
ADD INDEX `idx_so`(`sale_order_id`) USING BTREE;