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 = 40 
  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.00330

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE storefront_values system PRIMARY,storefront_id,company_id 0 const row not found
1 SIMPLE cscart_settings_objects ref section_id section_id 4 const 6 Using where; Using filesort

Result

object_id name section_id section_tab_id type position is_global description value
5749 formula 40 41 D 0 N formula paidOrdersCount + paidOrdersTotal + activeProductsCount + manualVendorRating
5750 start_rating_period 40 41 D 10 N start_rating_period 0
5751 bronze_rating_lower_limit 40 41 D 20 N bronze_rating_lower_limit 50
5752 silver_rating_lower_limit 40 41 D 30 N silver_rating_lower_limit 80
5753 gold_rating_lower_limit 40 41 D 40 N gold_rating_lower_limit 90
5754 config_tpl 40 41 E 50 N config_tpl config.tpl