<?php

    $ids = "120-121-122-123-124";
    
    $explodeIds = explode("-", $ids);
    $query = "select * from kayitlar where kayit_id = ".join(" or kayit_id = ", $explodeIds);
Sonuç:
select * from kayitlar where kayit_id = 120 or kayit_id = 121 or kayit_id = 122 or kayit_id = 123 or kayit_id = 124

Yada idler belli bir aralıktaysa örnek 120 ~ 151, bunun için between keywordunu kullanabilirsiniz.
Örnek;
select * from kayitlar where kayit_id between 120 and 151