SELECT 
  a.*, 
  b.option_name, 
  b.internal_option_name, 
  b.option_text, 
  b.description, 
  b.inner_hint, 
  b.incorrect_message, 
  b.comment 
FROM 
  cscart_product_options as a 
  LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id 
  AND b.lang_code = 'en' 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = a.option_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_options'
  ) 
WHERE 
  a.product_id IN (
    6358, 6359, 6360, 6361, 6362, 6363, 6364, 
    6365, 6431, 6432, 6433, 6434, 6435, 
    6436, 6437, 6438, 6439, 6440, 6441, 
    6442, 6443, 6444, 6445, 6446, 6447, 
    6526, 6527, 6528, 6529, 6530, 6531, 
    6532, 6533, 6534, 6615, 6616, 6617, 
    6618, 6619, 6620, 6621, 6622, 2272, 
    2273, 2274, 2275, 2276, 2340, 2341, 
    2342, 2343, 2344, 2345, 2346, 2347, 
    2348, 2421, 2422, 2423, 2424, 2425, 
    2426, 2427, 2428, 2429, 2430, 2431, 
    2432, 2433, 2434, 2435, 2436, 2437, 
    2438, 2519, 2520, 2521, 2522, 2523, 
    2524, 2525, 2526, 2527, 2608, 2609, 
    2610, 2611, 2612, 2613, 2614, 2615, 
    2616, 5872, 5873, 5874, 5875
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00093

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.68"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "1.70"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_ult_objects_sharing",
            "access_type": "index",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "share_object_id",
              "share_company_id",
              "share_object_type"
            ],
            "key_length": "159",
            "rows_examined_per_scan": 170,
            "rows_produced_per_join": 1,
            "filtered": "1.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "17.62",
              "eval_cost": "0.17",
              "prefix_cost": "17.79",
              "data_read_per_join": "272"
            },
            "used_columns": [
              "share_company_id",
              "share_object_id",
              "share_object_type"
            ],
            "attached_condition": "((`gaseus`.`cscart_ult_objects_sharing`.`share_company_id` = 1) and (`gaseus`.`cscart_ult_objects_sharing`.`share_object_type` = 'product_options'))"
          }
        },
        {
          "table": {
            "table_name": "a",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id"
            ],
            "key_length": "3",
            "ref": [
              "gaseus.cscart_ult_objects_sharing.share_object_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "index_condition": "(`gaseus`.`cscart_ult_objects_sharing`.`share_object_id` = `gaseus`.`a`.`option_id`)",
            "cost_info": {
              "read_cost": "0.43",
              "eval_cost": "0.17",
              "prefix_cost": "18.38",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "option_id",
              "product_id",
              "company_id",
              "option_type",
              "regexp",
              "required",
              "multiupload",
              "allowed_extensions",
              "max_file_size",
              "missing_variants_handling",
              "status",
              "position",
              "value",
              "yml2_type_options",
              "yml2_option_param"
            ],
            "attached_condition": "((`gaseus`.`a`.`product_id` in (6358,6359,6360,6361,6362,6363,6364,6365,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6445,6446,6447,6526,6527,6528,6529,6530,6531,6532,6533,6534,6615,6616,6617,6618,6619,6620,6621,6622,2272,2273,2274,2275,2276,2340,2341,2342,2343,2344,2345,2346,2347,2348,2421,2422,2423,2424,2425,2426,2427,2428,2429,2430,2431,2432,2433,2434,2435,2436,2437,2438,2519,2520,2521,2522,2523,2524,2525,2526,2527,2608,2609,2610,2611,2612,2613,2614,2615,2616,5872,5873,5874,5875)) and (`gaseus`.`a`.`status` = 'A'))"
          }
        },
        {
          "table": {
            "table_name": "b",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "gaseus.a.option_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.43",
              "eval_cost": "0.17",
              "prefix_cost": "18.98",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "option_id",
              "lang_code",
              "option_name",
              "internal_option_name",
              "option_text",
              "description",
              "comment",
              "inner_hint",
              "incorrect_message"
            ]
          }
        }
      ]
    }
  }
}