SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '767c2adb5451032610ab4539d8517290a82e0b0f3c28370ca97a841392c6d08f' 
  AND token = 'd45CxeqXV3NiBKiDtwG0R+44Mr2jLAax1yE++E3xTpI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}