select `sections`.*, `article_section`.`article_id` as `pivot_article_id`, `article_section`.`section_id` as `pivot_section_id` from `sections` innerjoin `article_section` on `sections`.`id` = `article_section`.`section_id` where `article_section`.`article_id` in (164726, 164931, 175811, 205674) and `sections`.`deleted_at` isnull