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 = 82 
  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.01350

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.06777216,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "cscart_settings_objects.position",
            "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"],
              "loops": 1,
              "rows": 22,
              "cost": 0.0267784,
              "filtered": 100,
              "attached_condition": "cscart_settings_objects.section_id <=> 82 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'"
            }
          }
        }
      },
      {
        "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": ["lvshop.cscart_settings_objects.object_id", "const", "const"],
          "loops": 22,
          "rows": 1,
          "cost": 0.02049688,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "storefront_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": ["lvshop.cscart_settings_objects.object_id", "const", "const"],
          "loops": 22,
          "rows": 1,
          "cost": 0.02049688,
          "filtered": 100
        }
      }
    ]
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
5845 product_posts_per_page 82 83 I 0 N product_posts_per_page 10
5851 category_posts_per_page 82 84 I 0 N category_posts_per_page 10
5855 order_posts_per_page 82 85 I 0 N order_posts_per_page 10
5857 page_posts_per_page 82 86 I 0 N page_posts_per_page 10
5862 home_page_posts_per_page 82 87 I 0 N home_page_posts_per_page 10
5846 product_post_approval 82 83 S 10 N product_post_approval any
5852 category_post_approval 82 84 S 10 N category_post_approval any
5856 order_initiate 82 85 C 10 N order_initiate Y
5858 page_post_approval 82 86 S 10 N page_post_approval disabled
5863 home_page_post_approval 82 87 S 10 N home_page_post_approval any
5847 product_post_ip_check 82 83 C 20 N product_post_ip_check N
5853 category_post_ip_check 82 84 C 20 N category_post_ip_check N
5859 page_post_ip_check 82 86 C 20 N page_post_ip_check N
5864 home_page_post_ip_check 82 87 C 20 N home_page_post_ip_check Y
5848 product_discussion_type 82 83 S 30 N product_discussion_type D
5854 category_discussion_type 82 84 S 30 N category_discussion_type D
5860 page_discussion_type 82 86 S 30 N page_discussion_type D
5865 home_page_testimonials 82 87 S 30 N home_page_testimonials B
5849 product_share_discussion 82 83 C 40 N product_share_discussion N
5861 page_share_discussion 82 86 C 40 N page_share_discussion N
5866 testimonials_from_all_stores 82 87 C 40 N testimonials_from_all_stores N
5850 product_review_after_purchase 82 83 C 50 N product_review_after_purchase N