selectcount(*) as aggregate from `products` whereexists (select*from `categories` where `products`.`category_key` = `categories`.`id_1c` and `slug` ='modulnye-reecnye')
select `products`.*, (select `id` from `favorites` where `product_id` = `products`.`id` and `user_id` isnull limit 1) as `isLike` from `products` whereexists (select*from `categories` where `products`.`category_key` = `categories`.`id_1c` and `slug` ='modulnye-reecnye') limit 100offset0