1. SELECT SQL_CALC_FOUND_ROWS products.product_id, descr1.product as product, companies.company as company_name, products.product_type, products.parent_product_id FROM ?:products as products  LEFT JOIN ?:product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'en'  LEFT JOIN ?:product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN ?:companies AS companies ON companies.company_id = products.company_id  INNER JOIN ?:products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN ?:categories ON ?:categories.category_id = products_categories.category_id  AND (?:categories.usergroup_ids = '' OR FIND_IN_SET(0, ?:categories.usergroup_ids) OR FIND_IN_SET(1, ?:categories.usergroup_ids)) AND ?:categories.status IN ('A', 'H')   WHERE 1  AND ?:categories.category_id IN (2151) AND companies.status = 'A' AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) AND products.amount != '0' AND products.parent_product_id = 0 AND products.product_type != 'D' GROUP BY products.product_id   ORDER BY products.timestamp desc, products.product_id ASC  LIMIT 0, 21
    
  1. Array
    (
        [area] => C
        [use_caching] => 1
        [extend] => Array
            (
                [0] => product_name
                [1] => prices
                [2] => categories
                [3] => categories
                [4] => description
                [5] => companies
            )
    
        [custom_extend] => Array
            (
            )
    
        [pname] => 
        [pshort] => 
        [pfull] => 
        [pkeywords] => 
        [feature] => Array
            (
            )
    
        [type] => simple
        [page] => 1
        [action] => 
        [filter_variants] => Array
            (
            )
    
        [features_hash] => 
        [limit] => 0
        [bid] => 0
        [match] => 
        [tracking] => Array
            (
            )
    
        [get_frontend_urls] => 
        [items_per_page] => 21
        [apply_disabled_filters] => 
        [load_products_extra_data] => 1
        [storefront] => 
        [dispatch] => categories.view
        [category_id] => 2151
        [save_view_results] => product_id
        [cid] => 2151
        [subcats] => Y
        [sort_by] => timestamp
        [sort_order] => desc
        [include_child_variations] => 
        [group_child_variations] => 
        [parent_product_id] => 0
        [sort_order_rev] => asc
    )
    
    
  1. Array
    (
        [0] => Array
            (
                [product_id] => 72354
                [product] => Rain Money Gun_ Paper Playing Spary Money Toy Gun_, Prop Money Gun_ with 100 Pcs Play Money Cash Gun_ Party Supplies (Money Gun_)
                [company_name] => Globalzone
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [1] => Array
            (
                [product_id] => 58575
                [product] => Complete Pack of Army Soldier Set Toys For Kids | Kids Toys Online Shopping
                [company_name] => Acme Mart
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [2] => Array
            (
                [product_id] => 58557
                [product] => Complete Set of Wild Animal Zoo | Combo Pack of 3  Toys | Toys For Kids
                [company_name] => Acme Mart
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [3] => Array
            (
                [product_id] => 45732
                [product] => Cash Cannon Spray Money Gunz Money Rain Toy Spit Banknootes Gunz Red Best Gift
                [company_name] => KUN TRADERS
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [4] => Array
            (
                [product_id] => 44206
                [product] => Zero Gravity Toys Hover Air Shot_Toy Gun_2.0 Game Air Powered Blaster For Kids Boys/Girls And Adult
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [5] => Array
            (
                [product_id] => 44244
                [product] => Sharp Shooter Laser_infrared_Gun For Kids Multi Color - 2148
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [6] => Array
            (
                [product_id] => 44254
                [product] => Ertugrul Ghazi arrow set toys/arrow Set Toys/ for kids  (plastic material) - 1861
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [7] => Array
            (
                [product_id] => 44256
                [product] => Ertu─črul Ghazi Style Plastic Sword-toy For Kids
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [8] => Array
            (
                [product_id] => 44280
                [product] => Flex Force WWE Set of 4 Wrestling Action Figures Models Toy for Kids-2763
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [9] => Array
            (
                [product_id] => 44283
                [product] => Cash Cannon Spray Money_Gun Money Rain Toy _Spit_ Banknotes_ Gun_ Red Best Gift
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [10] => Array
            (
                [product_id] => 44284
                [product] => Super Money Gunz / Cash Raining Gunz
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [11] => Array
            (
                [product_id] => 44373
                [product] => Army Warrior Series Action Toys
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [12] => Array
            (
                [product_id] => 44696
                [product] => Musical Blaster Guns with Multi Light & Music for Kids - 32.119
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [13] => Array
            (
                [product_id] => 44698
                [product] => 2 in 1 - Water Crystal ball & Dart Gun with 1000 Crystal Balls & 3 Burst Bullet Toy For Kids
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [14] => Array
            (
                [product_id] => 44699
                [product] => Super Power Face Pioneer Gun with Light & Music for Kids - 22067
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [15] => Array
            (
                [product_id] => 44701
                [product] => Combat Zone Gunz with Light & Music for Kids
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [16] => Array
            (
                [product_id] => 44702
                [product] => 2 in 1 Magic Blaster Guns with Ball and Water Shooting Blaster Guns for Kids
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [17] => Array
            (
                [product_id] => 44703
                [product] => 2 in one Avenger Guns Toys for Kids - 22062
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [18] => Array
            (
                [product_id] => 44706
                [product] => Ghosia Store Combat Mission Super Fire Toys - 1 Set
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [19] => Array
            (
                [product_id] => 44708
                [product] => Ghosia Store 2 in one Pack of Animal &Hunter Set  Toy for kids
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
        [20] => Array
            (
                [product_id] => 44874
                [product] => Toys Super 788-D Vibration with Laser Light & Music
                [company_name] => Ghosia Malls
                [product_type] => P
                [parent_product_id] => 0
            )
    
    )