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 = 787 
  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.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.76"
    },
    "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": 17,
            "rows_produced_per_join": 15,
            "filtered": "90.00",
            "index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 787)",
            "cost_info": {
              "read_cost": "17.00",
              "eval_cost": "3.06",
              "prefix_cost": "20.40",
              "data_read_per_join": "12K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "((find_in_set('STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`)) and (`webmarco`.`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": [
              "webmarco.cscart_settings_objects.object_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 15,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "15.30",
              "eval_cost": "3.06",
              "prefix_cost": "38.76",
              "data_read_per_join": "367"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
8422 tracking_code 787 788 I 0 N tracking_code G-E9MCQFBFML
8431 select_paid_statuses 787 789 N 0 N select_paid_statuses #M#P=Y&C=Y
8433 ga_quick_view 787 790 C 0 N ga_quick_view N
8437 enable_cross_domain_tracking 787 791 C 0 N enable_cross_domain_tracking N
8423 api_secret 787 788 I 10 N api_secret 2JCG5q-eRa2SRStgsiNbVg
8432 select_refund_statuses 787 789 N 10 N select_refund_statuses #M#D=Y&I=Y
8434 ga_comparison_list 787 790 C 10 N ga_comparison_list N
8438 domain_id 787 791 I 10 N domain_id
8424 use_as_product_identification 787 788 S 20 N use_as_product_identification product_code
8435 ga_wishlist 787 790 C 20 N ga_wishlist N
8425 ga_user_id_law 787 788 C 30 N ga_user_id_law N
8436 ga_buy_one_click 787 790 C 30 N ga_buy_one_click N
8426 ga_anonymize_ip 787 788 C 40 N ga_anonymize_ip N
8427 site_speed_sample_rate 787 788 I 50 N site_speed_sample_rate 100
8428 select_brand 787 788 S 60 N select_brand 0
8429 subscription_type 787 788 D 70 N subscription_type full
8430 subscription_type_last_check 787 788 D 80 N subscription_type_last_check 1726479646