SELECT 
  option_type as type, 
  option_id 
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 (330, 334)

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "7.21"
    },
    "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": 2,
          "rows_produced_per_join": 2,
          "filtered": "100.00",
          "index_condition": "(`eshopuga_upgr_4122`.`cscart_product_options`.`option_id` in (330,334))",
          "cost_info": {
            "read_cost": "4.41",
            "eval_cost": "0.40",
            "prefix_cost": "4.81",
            "data_read_per_join": "4K"
          },
          "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": [
            "eshopuga_upgr_4122.cscart_product_options.option_id",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 2,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "2.00",
            "eval_cost": "0.40",
            "prefix_cost": "7.21",
            "data_read_per_join": "320"
          },
          "used_columns": [
            "share_company_id",
            "share_object_id",
            "share_object_type"
          ],
          "attached_condition": "(`eshopuga_upgr_4122`.`cscart_ult_objects_sharing`.`share_object_id` = `eshopuga_upgr_4122`.`cscart_product_options`.`option_id`)"
        }
      }
    ]
  }
}

Result

type option_id
C 330
C 334