Shortening of "me cacho en diez", alteration (by folk etymology) of "me cago en Dios" (I shit on God).
me cacho