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 = 50 
  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.00064

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": 17,
          "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
5761 notice 50 51 O 0 N notice
5776 forbidden_countries_notice 50 52 O 0 N forbidden_countries_notice
5777 forbidden_countries 50 52 B 10 N forbidden_countries #M#CN=Y&CG=Y&IR=Y
5763 recaptcha_site_key 50 51 I 20 N recaptcha_site_key
5764 recaptcha_secret 50 51 I 30 N recaptcha_secret
5765 recaptcha_theme 50 51 S 40 N recaptcha_theme light
5766 recaptcha_size 50 51 S 50 N recaptcha_size normal
5767 recaptcha_type 50 51 S 60 N recaptcha_type image
5769 recaptcha_v3_site_key 50 51 I 80 N recaptcha_v3_site_key
5770 recaptcha_v3_secret 50 51 I 90 N recaptcha_v3_secret
5771 recaptcha_v3_success_score 50 51 S 100 N recaptcha_v3_success_score 0.5
5773 recaptcha_use_for_value 50 51 D 120 N recaptcha_use_for_value
5774 recaptcha_use_for 50 51 E 130 N recaptcha_use_for use_for_settings.tpl
5775 settings_proxy 50 51 O 140 N settings_proxy