select `products`.*, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `delivery_man_id` isnulland `status` =1) as `reviews_count` from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and (`slug` ='beautiful-red-blood-kundan-brass-earrings-Mg0AQr') limit 1
select*from `translations` where `translations`.`translationable_id` in (831) and `translations`.`translationable_type` ='App\Models\Product'and `locale` ='en'
selectcount(*) as aggregate from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and (`added_by` ='seller') and `user_id` =2and `id` notin (831)
select `products`.*, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `delivery_man_id` isnulland `status` =1) as `reviews_count` from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and (`added_by` ='seller') and `user_id` =2and `id` notin (831) orderby `id` desc limit 5offset0
select*from `translations` where `translations`.`translationable_id` in (827, 828, 829, 830, 832) and `translations`.`translationable_type` ='App\Models\Product'and `locale` ='en'
selectcount(*) as aggregate from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and (`added_by` ='seller') and `user_id` =2
select `products`.*, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `status` =1and `status` =1) as `reviews_count`, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `delivery_man_id` isnulland `status` =1) as `reviews_count` from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and (`added_by` ='seller') and `user_id` =2 limit 25offset0
selectcount(*) as aggregate from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and `id` notin (831)
select `products`.*, (selectcount(*) from `reviews` where `products`.`id` = `reviews`.`product_id` and `delivery_man_id` isnulland `status` =1) as `reviews_count` from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and `id` notin (831) limit 12offset0
select `brands`.*, (selectcount(*) from `products` where `brands`.`id` = `products`.`brand_id` and (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical')) as `brand_products_count` from `brands` where `status` =1orderby `created_at` desc
select*from `translations` where `translations`.`translationable_id` in (1) and `translations`.`translationable_type` ='App\Models\Brand'and `locale` ='en'
selectcount(*) as aggregate from `products` where (exists (select*from `brands` where `products`.`brand_id` = `brands`.`id` and (`status` =1)) and (`status` =1) and (`request_status` =1) or (`brand_id` isnulland `status` =1)) and (exists (select*from `sellers` where `products`.`user_id` = `sellers`.`id` and (`status` ='approved')) or ((`added_by` ='admin'and `status` =1))) and `product_type` in ('digital', 'physical') and `discount` !=0