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 = 123 
  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.00108

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_settings_objects.position",
      "temporary_table": {
        "table": {
          "table_name": "cscart_settings_objects",
          "access_type": "ref",
          "possible_keys": ["section_id"],
          "key": "section_id",
          "key_length": "4",
          "used_key_parts": ["section_id"],
          "ref": ["const"],
          "rows": 18,
          "filtered": 100,
          "attached_condition": "(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'"
        },
        "table": {
          "table_name": "company_values",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "storefront_id", "company_id"],
          "key": "PRIMARY",
          "key_length": "11",
          "used_key_parts": ["object_id", "company_id", "storefront_id"],
          "ref": [
            "noframes_angrybeaver.cscart_settings_objects.object_id",
            "const",
            "const"
          ],
          "rows": 1,
          "filtered": 100
        },
        "block-nl-join": {
          "table": {
            "table_name": "storefront_values",
            "access_type": "range",
            "possible_keys": ["PRIMARY", "storefront_id", "company_id"],
            "key": "company_id",
            "key_length": "4",
            "used_key_parts": ["company_id"],
            "rowid_filter": {
              "range": {
                "key": "storefront_id",
                "used_key_parts": ["storefront_id"]
              },
              "rows": 32,
              "selectivity_pct": 19.51219512
            },
            "rows": 1,
            "filtered": 19.51219559,
            "attached_condition": "storefront_values.storefront_id = 1 and storefront_values.company_id = 0"
          },
          "buffer_type": "flat",
          "buffer_size": "10Kb",
          "join_type": "BNL",
          "attached_condition": "trigcond(1) and trigcond(storefront_values.object_id = cscart_settings_objects.object_id and storefront_values.storefront_id = 1 and storefront_values.company_id = 0)"
        }
      }
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
5949 counter_number 123 124 I 10 N counter_number
5950 is_obsolete_code_snippet_used 123 124 C 20 N is_obsolete_code_snippet_used N
5952 visor 123 124 C 40 N visor Y
5953 clickmap 123 124 C 50 N clickmap Y
5954 external_links 123 124 C 60 N external_links Y
5955 denial 123 124 C 70 N denial Y
5957 track_hash 123 124 C 90 N track_hash Y
5958 ecommerce 123 124 C 100 N ecommerce Y
5960 application_id 123 124 I 120 N application_id
5961 application_password 123 124 I 130 N application_password
5962 auth_token 123 124 D 140 N auth_token
5963 oauth_info 123 124 O 150 N oauth_info
5965 collect_stats_for_goals 123 124 N 170 N collect_stats_for_goals