SELECT
DISTINCT(producten.ID)
FROM
producten
WHERE producten.merken_ID IN (0,5188820)
LIMIT 10000
SELECT
DISTINCT(vermeldingen.shop_ID)
FROM
vermeldingen
WHERE
vermeldingen.producten_ID IN (4619895,4910840,5017478,5017479,5017480,5021339,5021341,5049194,5069729,5074495,5074625,5081374,5093175,5093176,5121633,5333070,5471367,5471368,5471369,5471370,5471372,5471373,5471374,5471375,5471376,5471377,5471378,5471379,5471380,5471381,5471382,5471383,5471384,5471385,5471386,5471387,5471388,5471389,5471390,5471391,5471392,5471393,5471394,5471395,5471396,5471397,5471398,5471399,5471400,5471401,5471402,5471403,5471404,5471405,5471406,5471407,5471408,5471409,5471410,5471411,5471412,5471413,5471414,5471415,5471416,5471417,5471418,5471419,5471420,5471421,5471422,5471423,5471424,5471425,5471426,5471427,5471428,5471429,5471430,5471431,5471432,5471433,5471434,5471435,5471436,5471437,5471438,5471439,5471440,5471441,5471442,5471443,5471444,5471445,5471446,5471447,5471448,5471449,5471450,5471451,5471452,5471453,5471454,5471455,5471456,5471457,5471458,5471459,5471460,5471461,5471462,5471463,5471464,5471465,5471466,5471467,5471468,5471469,5471470,5471471,5471472,5471473,5471474,5471475,5471476,5471477,5471478,5471480,5483770,5483771,5531775,5908934)