2 added 6 characters in body
source | link

Python, 8282 71 bytes

0-7, made independently of this answer

-11 bytes thanks to ASCII-only

f=lambdalambda a,b:"0123456712307645230154763012675446570213574620316574310274651320"[a*8+b]int("27pwpxvfcobhkyqu1wrun3nu1fih0x8svriq0",36)>>3*(a*8+b)&7

TIOTIO

Python, 82 bytes

0-7, made independently of this answer

f=lambda a,b:"0123456712307645230154763012675446570213574620316574310274651320"[a*8+b]

TIO

Python, 82 71 bytes

0-7

-11 bytes thanks to ASCII-only

lambda a,b:int("27pwpxvfcobhkyqu1wrun3nu1fih0x8svriq0",36)>>3*(a*8+b)&7

TIO

1
source | link

Python, 82 bytes

0-7, made independently of this answer

f=lambda a,b:"0123456712307645230154763012675446570213574620316574310274651320"[a*8+b]

TIO