Query time 0.00047
    
    
            JSON explain
        {
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.00"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "company_values",
            "access_type": "system",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "storefront_id",
              "value"
            ]
          }
        },
        {
          "table": {
            "table_name": "storefront_values",
            "access_type": "system",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "storefront_id",
              "value"
            ]
          }
        },
        {
          "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": 20,
            "rows_produced_per_join": 17,
            "filtered": "90.00",
            "index_condition": "(`atulecarter_atul_demo5`.`cscart_settings_objects`.`section_id` <=> 9)",
            "cost_info": {
              "read_cost": "20.00",
              "eval_cost": "3.60",
              "prefix_cost": "24.00",
              "data_read_per_join": "14K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "((find_in_set('STOREFRONT',`atulecarter_atul_demo5`.`cscart_settings_objects`.`edition_type`) or find_in_set('VENDOR',`atulecarter_atul_demo5`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`atulecarter_atul_demo5`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:STOREFRONT',`atulecarter_atul_demo5`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:VENDOR',`atulecarter_atul_demo5`.`cscart_settings_objects`.`edition_type`) or find_in_set('ULT:ROOT',`atulecarter_atul_demo5`.`cscart_settings_objects`.`edition_type`)) and (`atulecarter_atul_demo5`.`cscart_settings_objects`.`type` <> 'H'))"
          }
        }
      ]
    }
  }
}
    
            
            
                Result
                                    
                                                    | object_id | name | section_id | section_tab_id | type | position | is_global | description | value | 
                                            
                                                            | 335 | image_file_size | 9 | 0 | Q | 60 | Y | image_file_size |  | 
                                            
                                                            | 91 | thumbnail_background_color | 9 | 0 | I | 70 | Y | thumbnail_background_color | #ffffff | 
                                            
                                                            | 90 | convert_to | 9 | 0 | S | 80 | Y | convert_to | original | 
                                            
                                                            | 89 | jpeg_quality | 9 | 0 | U | 90 | Y | jpeg_quality | 80 | 
                                            
                                                            | 184 | product_lists_thumbnail_width | 9 | 0 | U | 100 | Y | product_lists_thumbnail_width | 150 | 
                                            
                                                            | 185 | product_lists_thumbnail_height | 9 | 0 | U | 110 | Y | product_lists_thumbnail_height | 150 | 
                                            
                                                            | 186 | product_details_thumbnail_width | 9 | 0 | U | 120 | Y | product_details_thumbnail_width | 280 | 
                                            
                                                            | 187 | product_details_thumbnail_height | 9 | 0 | U | 130 | Y | product_details_thumbnail_height |  | 
                                            
                                                            | 292 | product_quick_view_thumbnail_width | 9 | 0 | U | 135 | Y | product_quick_view_thumbnail_width | 220 | 
                                            
                                                            | 293 | product_quick_view_thumbnail_height | 9 | 0 | U | 136 | Y | product_quick_view_thumbnail_height |  | 
                                            
                                                            | 190 | product_cart_thumbnail_width | 9 | 0 | U | 160 | Y | product_cart_thumbnail_width | 120 | 
                                            
                                                            | 191 | product_cart_thumbnail_height | 9 | 0 | U | 170 | Y | product_cart_thumbnail_height |  | 
                                            
                                                            | 315 | product_variant_mini_icon_width | 9 | 0 | U | 171 | Y | product_variant_mini_icon_width | 70 | 
                                            
                                                            | 316 | product_variant_mini_icon_height | 9 | 0 | U | 172 | Y | product_variant_mini_icon_height | 70 | 
                                            
                                                            | 192 | category_lists_thumbnail_width | 9 | 0 | U | 180 | Y | category_lists_thumbnail_width | 60 | 
                                            
                                                            | 193 | category_lists_thumbnail_height | 9 | 0 | U | 190 | Y | category_lists_thumbnail_height |  | 
                                            
                                                            | 194 | category_details_thumbnail_width | 9 | 0 | U | 200 | Y | category_details_thumbnail_width | 120 | 
                                            
                                                            | 195 | category_details_thumbnail_height | 9 | 0 | U | 210 | Y | category_details_thumbnail_height |  | 
                                            
                                                            | 196 | category_detailed_image_width | 9 | 0 | U | 220 | Y | category_detailed_image_width |  | 
                                            
                                                            | 197 | category_detailed_image_height | 9 | 0 | U | 230 | Y | category_detailed_image_height |  | 
                                            
                                                            | 309 | product_admin_mini_icon_width | 9 | 0 | U | 300 | Y | product_admin_mini_icon_width | 40 | 
                                            
                                                            | 310 | product_admin_mini_icon_height | 9 | 0 | U | 310 | Y | product_admin_mini_icon_height |  |