SELECT 
  cscart_settings_objects.object_id as object_id, 
  name, 
  section_id, 
  section_tab_id, 
  type, 
  position, 
  is_global, 
  cscart_settings_objects.name as description, 
  (
    CASE WHEN company_values.object_id IS NOT NULL THEN company_values.value WHEN storefront_values.object_id IS NOT NULL THEN storefront_values.value ELSE cscart_settings_objects.value END
  ) AS value 
FROM 
  cscart_settings_objects 
  LEFT JOIN cscart_settings_vendor_values AS company_values ON company_values.object_id = cscart_settings_objects.object_id 
  AND company_values.company_id = 1 
  AND company_values.storefront_id = 1 
  LEFT JOIN cscart_settings_vendor_values AS storefront_values ON storefront_values.object_id = cscart_settings_objects.object_id 
  AND storefront_values.storefront_id = 1 
  AND storefront_values.company_id = 0 
WHERE 
  1 
  AND section_id = 9 
  AND (
    FIND_IN_SET(
      'STOREFRONT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'VENDOR', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'ROOT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'ULT:STOREFRONT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'ULT:VENDOR', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'ULT:ROOT', cscart_settings_objects.edition_type
    )
  ) 
  AND cscart_settings_objects.type <> 'H' 
ORDER BY 
  cscart_settings_objects.position

Query time 0.00124

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "73.92"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_settings_objects",
            "access_type": "ref",
            "possible_keys": [
              "section_id"
            ],
            "key": "section_id",
            "used_key_parts": [
              "section_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 22,
            "rows_produced_per_join": 19,
            "filtered": "90.00",
            "index_condition": "(`ea201_francemaqu`.`cscart_settings_objects`.`section_id` <=> 9)",
            "cost_info": {
              "read_cost": "22.00",
              "eval_cost": "3.96",
              "prefix_cost": "26.40",
              "data_read_per_join": "15K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "((find_in_set('STOREFRONT',`ea201_francemaqu`.`cscart_settings_objects`.`edition_type`) or find_in_set('VENDOR',`ea201_francemaqu`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`ea201_francemaqu`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:STOREFRONT',`ea201_francemaqu`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:VENDOR',`ea201_francemaqu`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:ROOT',`ea201_francemaqu`.`cscart_settings_objects`.`edition_type`)) and (`ea201_francemaqu`.`cscart_settings_objects`.`type` <> 'H'))"
          }
        },
        {
          "table": {
            "table_name": "company_values",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "company_id",
              "storefront_id"
            ],
            "key_length": "11",
            "ref": [
              "ea201_francemaqu.cscart_settings_objects.object_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 19,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.80",
              "eval_cost": "3.96",
              "prefix_cost": "50.16",
              "data_read_per_join": "475"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "storefront_values",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "company_id",
              "storefront_id"
            ],
            "key_length": "11",
            "ref": [
              "ea201_francemaqu.cscart_settings_objects.object_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 19,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.80",
              "eval_cost": "3.96",
              "prefix_cost": "73.92",
              "data_read_per_join": "475"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
6405 image_file_size 9 0 Q 60 Y image_file_size
91 thumbnail_background_color 9 0 I 70 Y thumbnail_background_color #ffffff
90 convert_to 9 0 S 80 Y convert_to original
89 jpeg_quality 9 0 U 90 Y jpeg_quality 80
184 product_lists_thumbnail_width 9 0 U 100 Y product_lists_thumbnail_width 210
185 product_lists_thumbnail_height 9 0 U 110 Y product_lists_thumbnail_height
186 product_details_thumbnail_width 9 0 U 120 Y product_details_thumbnail_width 520
187 product_details_thumbnail_height 9 0 U 130 Y product_details_thumbnail_height
2003 product_quick_view_thumbnail_width 9 0 U 135 Y product_quick_view_thumbnail_width 220
2004 product_quick_view_thumbnail_height 9 0 U 136 Y product_quick_view_thumbnail_height
190 product_cart_thumbnail_width 9 0 U 160 Y product_cart_thumbnail_width 120
191 product_cart_thumbnail_height 9 0 U 170 Y product_cart_thumbnail_height
6366 product_variant_mini_icon_width 9 0 U 171 Y product_variant_mini_icon_width 70
6367 product_variant_mini_icon_height 9 0 U 172 Y product_variant_mini_icon_height 70
192 category_lists_thumbnail_width 9 0 U 180 Y category_lists_thumbnail_width 120
193 category_lists_thumbnail_height 9 0 U 190 Y category_lists_thumbnail_height
194 category_details_thumbnail_width 9 0 U 200 Y category_details_thumbnail_width 200
195 category_details_thumbnail_height 9 0 U 210 Y category_details_thumbnail_height
196 category_detailed_image_width 9 0 U 220 Y category_detailed_image_width
197 category_detailed_image_height 9 0 U 230 Y category_detailed_image_height
309 product_admin_mini_icon_width 9 0 U 300 Y product_admin_mini_icon_width 50
310 product_admin_mini_icon_height 9 0 U 310 Y product_admin_mini_icon_height