SELECT 
  feature_id 
FROM 
  cscart_product_features 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = cscart_product_features.feature_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_features'
  ) 
WHERE 
  feature_id IN (4, 3, 9, 6, 8, 15, 11, 17) 
  AND feature_type = 'E'

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.39"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_features",
          "access_type": "ALL",
          "possible_keys": [
            "PRIMARY"
          ],
          "rows_examined_per_scan": 24,
          "rows_produced_per_join": 1,
          "filtered": "4.17",
          "cost_info": {
            "read_cost": "6.99",
            "eval_cost": "0.20",
            "prefix_cost": "7.19",
            "data_read_per_join": "440"
          },
          "used_columns": [
            "feature_id",
            "feature_type"
          ],
          "attached_condition": "((`ea201_francemaqu`.`cscart_product_features`.`feature_id` in (4,3,9,6,8,15,11,17)) and (`ea201_francemaqu`.`cscart_product_features`.`feature_type` = 'E'))"
        }
      },
      {
        "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": [
            "ea201_francemaqu.cscart_product_features.feature_id",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "1.00",
            "eval_cost": "0.20",
            "prefix_cost": "8.39",
            "data_read_per_join": "160"
          },
          "used_columns": [
            "share_company_id",
            "share_object_id",
            "share_object_type"
          ],
          "attached_condition": "(`ea201_francemaqu`.`cscart_ult_objects_sharing`.`share_object_id` = `ea201_francemaqu`.`cscart_product_features`.`feature_id`)"
        }
      }
    ]
  }
}

Result

feature_id
9