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.00075

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.00"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "company_values",
            "access_type": "system",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "storefront_values",
            "access_type": "system",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        },
        {
          "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": 20,
            "rows_produced_per_join": 17,
            "filtered": "90.00",
            "index_condition": "(`eshopuga_upgr_4122`.`cscart_settings_objects`.`section_id` <=> 9)",
            "cost_info": {
              "read_cost": "20.00",
              "eval_cost": "3.60",
              "prefix_cost": "24.00",
              "data_read_per_join": "14K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "((find_in_set('STOREFRONT',`eshopuga_upgr_4122`.`cscart_settings_objects`.`edition_type`) or find_in_set('VENDOR',`eshopuga_upgr_4122`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`eshopuga_upgr_4122`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:STOREFRONT',`eshopuga_upgr_4122`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:VENDOR',`eshopuga_upgr_4122`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:ROOT',`eshopuga_upgr_4122`.`cscart_settings_objects`.`edition_type`)) and (`eshopuga_upgr_4122`.`cscart_settings_objects`.`type` <> 'H'))"
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
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 100
184 product_lists_thumbnail_width 9 0 U 100 Y product_lists_thumbnail_width 270
185 product_lists_thumbnail_height 9 0 U 110 Y product_lists_thumbnail_height 270
186 product_details_thumbnail_width 9 0 U 120 Y product_details_thumbnail_width 550
187 product_details_thumbnail_height 9 0 U 130 Y product_details_thumbnail_height 450
292 product_quick_view_thumbnail_width 9 0 U 135 Y product_quick_view_thumbnail_width 270
293 product_quick_view_thumbnail_height 9 0 U 136 Y product_quick_view_thumbnail_height 270
190 product_cart_thumbnail_width 9 0 U 160 Y product_cart_thumbnail_width 150
191 product_cart_thumbnail_height 9 0 U 170 Y product_cart_thumbnail_height 150
6462 product_variant_mini_icon_width 9 0 U 171 Y product_variant_mini_icon_width 50
6463 product_variant_mini_icon_height 9 0 U 172 Y product_variant_mini_icon_height 50
192 category_lists_thumbnail_width 9 0 U 180 Y category_lists_thumbnail_width 150
193 category_lists_thumbnail_height 9 0 U 190 Y category_lists_thumbnail_height 150
194 category_details_thumbnail_width 9 0 U 200 Y category_details_thumbnail_width 120
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 270
197 category_detailed_image_height 9 0 U 230 Y category_detailed_image_height 380
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