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 = 496 
  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.00119

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "36.48"
    },
    "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": 16,
            "rows_produced_per_join": 14,
            "filtered": "90.00",
            "index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 496)",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "2.88",
              "prefix_cost": "19.20",
              "data_read_per_join": "11K"
            },
            "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": 14,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "14.40",
              "eval_cost": "2.88",
              "prefix_cost": "36.48",
              "data_read_per_join": "345"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
7327 facebook_pixel_id 496 497 I 0 N facebook_pixel_id 267164482273334
7331 view_content_event 496 498 C 0 N view_content_event Y
7328 facebook_api_token 496 497 I 10 N facebook_api_token EAAeK4yOvPWcBAFKpIAD9vGPxK0rAYW36r0Ssyxl9r6cJeMWLMZCTbJZA6B6jVomzD3ZCdXlOFaxRoyC9qAXZCA7GSt6rbxn1O8X23zTbsH4Fwy0oZCpRm5QthKDfx0oZClYJZAYGMXoTcNAUCMIBo7Kd5LGujM2oqEdkVFvkduTIO6e9vrDnkFnNwmtGtbOc8QZD
7332 search_event 496 498 C 10 N search_event Y
7329 display_vendor_facebook_token_options 496 497 C 20 N display_vendor_facebook_token_options Y
7333 add_to_cart_event 496 498 C 20 N add_to_cart_event Y
7330 log_requests 496 497 C 30 N log_requests N
7334 add_to_wish_list_event 496 498 C 30 N add_to_wish_list_event Y
7335 initiate_checkout_event 496 498 C 40 N initiate_checkout_event Y
7336 track_initiate_checkout 496 498 S 50 N track_initiate_checkout all_stages
7337 add_payment_info_event 496 498 C 60 N add_payment_info_event Y
7338 purchase_event 496 498 C 70 N purchase_event Y
7339 lead_event 496 498 C 80 N lead_event Y
7340 complete_registration_event 496 498 C 90 N complete_registration_event Y
7341 buy_one_click_event 496 498 C 100 N buy_one_click_event Y
7342 call_request_event 496 498 C 110 N call_request_event Y