SELECT * FROM skin_cache WHERE cache_set_id=4 AND cache_type IN ('css', 'replacements')

SELECT m.*, m.member_id as my_member_id,pp.*,ccb.cache_content FROM members m LEFT JOIN profile_portal pp ON ( pp.pp_member_id=m.member_id )
LEFT JOIN content_cache_sigs ccb ON ( ccb.cache_content_id=m.member_id ) WHERE m.member_id IN (18,1,124)