SELECT 
  option_id, 
  option_type 
FROM 
  cscart_product_options 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = cscart_product_options.option_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_options'
  ) 
WHERE 
  option_id IN (
    988, 1029, 1030, 1031, 1032, 1033, 1034, 
    1036, 1037, 1038, 1039, 1040, 1041, 
    1043, 1044, 1046, 1048, 1049, 1050
  )

Query time 0.00055

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.96"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_options",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "option_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 19,
          "rows_produced_per_join": 19,
          "filtered": "100.00",
          "index_condition": "(`primapearl_r_new`.`cscart_product_options`.`option_id` in (988,1029,1030,1031,1032,1033,1034,1036,1037,1038,1039,1040,1041,1043,1044,1046,1048,1049,1050))",
          "cost_info": {
            "read_cost": "11.41",
            "eval_cost": "1.90",
            "prefix_cost": "13.31",
            "data_read_per_join": "51K"
          },
          "used_columns": [
            "option_id",
            "option_type"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_ult_objects_sharing",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "share_object_id",
            "share_company_id",
            "share_object_type"
          ],
          "key_length": "159",
          "ref": [
            "primapearl_r_new.cscart_product_options.option_id",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 19,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "4.75",
            "eval_cost": "1.90",
            "prefix_cost": "19.96",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "share_company_id",
            "share_object_id",
            "share_object_type"
          ],
          "attached_condition": "(`primapearl_r_new`.`cscart_ult_objects_sharing`.`share_object_id` = `primapearl_r_new`.`cscart_product_options`.`option_id`)"
        }
      }
    ]
  }
}

Result

option_id option_type
988 S
1029 S
1030 S
1031 S
1032 S
1033 S
1034 S
1036 S
1037 S
1038 S
1039 S
1040 S
1041 S
1043 S
1044 S
1046 S
1048 S
1049 S
1050 S