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 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 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 = 340 
  AND (
    FIND_IN_SET(
      'STOREFRONT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'ROOT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'MVE:STOREFRONT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'MVE:ROOT', cscart_settings_objects.edition_type
    )
  ) 
  AND cscart_settings_objects.type <> 'H' 
ORDER BY 
  cscart_settings_objects.position

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "11.97"
    },
    "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": 18,
            "rows_produced_per_join": 16,
            "filtered": "90.00",
            "cost_info": {
              "read_cost": "4.50",
              "eval_cost": "1.62",
              "prefix_cost": "6.30",
              "data_read_per_join": "12K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "(((0 <> find_in_set('STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`))) and (`cscartdevel`.`cscart_settings_objects`.`type` <> 'H'))"
          }
        },
        {
          "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": [
              "cscartdevel.cscart_settings_objects.object_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "4.05",
              "eval_cost": "1.62",
              "prefix_cost": "11.97",
              "data_read_per_join": "388"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "storefront_id",
              "value"
            ]
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
6856 license_number 340 341 I 0 N license_number RF-GE-JTM5XTVSESOC
6861 rf_google_ecommerce_google_dataLayer 340 342 I 0 N rf_google_ecommerce_google_dataLayer dataLayer
6871 aw_merchant_id 340 343 I 0 N aw_merchant_id
6857 rf_google_ecommerce_google_id 340 341 I 10 N rf_google_ecommerce_google_id G-TXMBX78GW4
6862 rf_google_ecommerce_product_id 340 342 S 10 N rf_google_ecommerce_product_id product_id
6872 aw_feed_label 340 343 I 10 N aw_feed_label
6873 aw_feed_language 340 343 I 20 N aw_feed_language
6858 rf_google_ecommerce_enhanced_ecommerce 340 341 C 20 N rf_google_ecommerce_enhanced_ecommerce Y
6863 rf_google_ecommerce_features_brand 340 342 S 20 N rf_google_ecommerce_features_brand 0
6864 rf_google_ecommerce_transanction_by_api 340 342 C 30 N rf_google_ecommerce_transanction_by_api N
6859 rf_google_ecommerce_debugview 340 341 C 30 N rf_google_ecommerce_debugview N
6865 rf_google_ecommerce_measurement_secret 340 342 I 40 N rf_google_ecommerce_measurement_secret
6860 manual_link 340 341 O 40 N manual_link
6866 rf_google_ecommerce_transanction_by_btn 340 342 C 50 N rf_google_ecommerce_transanction_by_btn N
6867 rf_google_ecommerce_order_editing 340 342 C 60 N rf_google_ecommerce_order_editing Y
6868 rf_google_ecommerce_purchase_statuses 340 342 N 70 N rf_google_ecommerce_purchase_statuses #M#P=Y
6869 rf_google_ecommerce_refund_statuses 340 342 N 80 N rf_google_ecommerce_refund_statuses N
6870 rf_google_ecommerce_exclude_email 340 342 I 90 N rf_google_ecommerce_exclude_email @example.com