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 = 32 
  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.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "22.80"
    },
    "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": 10,
            "rows_produced_per_join": 8,
            "filtered": "90.00",
            "index_condition": "(`danishecarter_21_apr`.`cscart_settings_objects`.`section_id` <=> 32)",
            "cost_info": {
              "read_cost": "10.00",
              "eval_cost": "1.80",
              "prefix_cost": "12.00",
              "data_read_per_join": "7K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "((find_in_set('STOREFRONT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`)) and (`danishecarter_21_apr`.`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": [
              "danishecarter_21_apr.cscart_settings_objects.object_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 8,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.00",
              "eval_cost": "1.80",
              "prefix_cost": "22.80",
              "data_read_per_join": "215"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "storefront_id",
              "value"
            ]
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
5726 em_show_on_checkout 32 33 C 0 N em_show_on_checkout N
5733 em_mailchimp_api_key 32 34 I 0 N em_mailchimp_api_key
5735 em_madmimi_username 32 35 I 0 N em_madmimi_username
5727 em_checkout_enabled 32 33 C 10 N em_checkout_enabled N
5734 em_mailchimp_list 32 34 S 10 N em_mailchimp_list
5736 em_madmimi_api_key 32 35 I 10 N em_madmimi_api_key
5728 em_double_opt_in 32 33 C 20 N em_double_opt_in N
5737 em_madmimi_list 32 35 S 20 N em_madmimi_list
5729 em_welcome_letter 32 33 C 30 N em_welcome_letter N
5730 em_service 32 33 S 40 N em_service dummy
5731 em_token 32 33 D 50 N em_token a4b960941b86413cac691fb834946c25
5732 em_lastsync 32 33 D 60 N em_lastsync 1745235103